#ifndef PROPERTY_VIEW_H_H_H_H_
#define PROPERTY_VIEW_H_H_H_H_
#include "Selection.h"
#include "DockWindow.h"
class QTabWidget;
namespace Gui
{
	namespace  PropertyEditor
	{
		class EditableListView;
		class EditableItem;
		class PropertyEditor;
	}
}

class PropertyView : public QWidget,public Gui::SelectionObserver
{
	Q_OBJECT
public:
	PropertyView(QWidget* parent = 0);
	~PropertyView(void);

	Gui::PropertyEditor::PropertyEditor* propertyEditorView;
	Gui::PropertyEditor::PropertyEditor* propertyEditorData;
protected:
	void changeEvent(QEvent *e);
private:
	void onSelectionChanged(const Gui::SelectionChanges& msg);

private:
	QTabWidget* tab;

};

class PropertyDockView : public DockWindow
{
	Q_OBJECT
public:
	PropertyDockView(QWidget* parent);
	virtual~PropertyDockView();
};
#endif